package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.Title;

import java.io.File;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/31.
 */

public interface imageUpload {
    @Multipart
    @POST("nup_pic")
    Call<ResponseBody> Upload (@Part("uploadFile\"; filename=\"test.jpg\"") RequestBody imgs );
    @POST("nup_pic")
    Call<ResponseBody> updateAvatar (@Part("uploadFile\"; filename=\"test.jpg\"") RequestBody imgs );




}
